package com.xian.yoga.entity;

import java.util.ArrayList;
import java.util.List;

public class StudioExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudioExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStudioIdIsNull() {
            addCriterion("studio_id is null");
            return (Criteria) this;
        }

        public Criteria andStudioIdIsNotNull() {
            addCriterion("studio_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudioIdEqualTo(Integer value) {
            addCriterion("studio_id =", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotEqualTo(Integer value) {
            addCriterion("studio_id <>", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdGreaterThan(Integer value) {
            addCriterion("studio_id >", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("studio_id >=", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdLessThan(Integer value) {
            addCriterion("studio_id <", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdLessThanOrEqualTo(Integer value) {
            addCriterion("studio_id <=", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdIn(List<Integer> values) {
            addCriterion("studio_id in", values, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotIn(List<Integer> values) {
            addCriterion("studio_id not in", values, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdBetween(Integer value1, Integer value2) {
            addCriterion("studio_id between", value1, value2, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotBetween(Integer value1, Integer value2) {
            addCriterion("studio_id not between", value1, value2, "studioId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIsNull() {
            addCriterion("owner_id is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIsNotNull() {
            addCriterion("owner_id is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdEqualTo(Integer value) {
            addCriterion("owner_id =", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotEqualTo(Integer value) {
            addCriterion("owner_id <>", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThan(Integer value) {
            addCriterion("owner_id >", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("owner_id >=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThan(Integer value) {
            addCriterion("owner_id <", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThanOrEqualTo(Integer value) {
            addCriterion("owner_id <=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIn(List<Integer> values) {
            addCriterion("owner_id in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotIn(List<Integer> values) {
            addCriterion("owner_id not in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdBetween(Integer value1, Integer value2) {
            addCriterion("owner_id between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("owner_id not between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andStudioNameIsNull() {
            addCriterion("studio_name is null");
            return (Criteria) this;
        }

        public Criteria andStudioNameIsNotNull() {
            addCriterion("studio_name is not null");
            return (Criteria) this;
        }

        public Criteria andStudioNameEqualTo(String value) {
            addCriterion("studio_name =", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameNotEqualTo(String value) {
            addCriterion("studio_name <>", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameGreaterThan(String value) {
            addCriterion("studio_name >", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameGreaterThanOrEqualTo(String value) {
            addCriterion("studio_name >=", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameLessThan(String value) {
            addCriterion("studio_name <", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameLessThanOrEqualTo(String value) {
            addCriterion("studio_name <=", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameLike(String value) {
            addCriterion("studio_name like", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameNotLike(String value) {
            addCriterion("studio_name not like", value, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameIn(List<String> values) {
            addCriterion("studio_name in", values, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameNotIn(List<String> values) {
            addCriterion("studio_name not in", values, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameBetween(String value1, String value2) {
            addCriterion("studio_name between", value1, value2, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioNameNotBetween(String value1, String value2) {
            addCriterion("studio_name not between", value1, value2, "studioName");
            return (Criteria) this;
        }

        public Criteria andStudioProviceIsNull() {
            addCriterion("studio_provice is null");
            return (Criteria) this;
        }

        public Criteria andStudioProviceIsNotNull() {
            addCriterion("studio_provice is not null");
            return (Criteria) this;
        }

        public Criteria andStudioProviceEqualTo(String value) {
            addCriterion("studio_provice =", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceNotEqualTo(String value) {
            addCriterion("studio_provice <>", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceGreaterThan(String value) {
            addCriterion("studio_provice >", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceGreaterThanOrEqualTo(String value) {
            addCriterion("studio_provice >=", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceLessThan(String value) {
            addCriterion("studio_provice <", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceLessThanOrEqualTo(String value) {
            addCriterion("studio_provice <=", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceLike(String value) {
            addCriterion("studio_provice like", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceNotLike(String value) {
            addCriterion("studio_provice not like", value, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceIn(List<String> values) {
            addCriterion("studio_provice in", values, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceNotIn(List<String> values) {
            addCriterion("studio_provice not in", values, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceBetween(String value1, String value2) {
            addCriterion("studio_provice between", value1, value2, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioProviceNotBetween(String value1, String value2) {
            addCriterion("studio_provice not between", value1, value2, "studioProvice");
            return (Criteria) this;
        }

        public Criteria andStudioCityIsNull() {
            addCriterion("studio_city is null");
            return (Criteria) this;
        }

        public Criteria andStudioCityIsNotNull() {
            addCriterion("studio_city is not null");
            return (Criteria) this;
        }

        public Criteria andStudioCityEqualTo(String value) {
            addCriterion("studio_city =", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityNotEqualTo(String value) {
            addCriterion("studio_city <>", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityGreaterThan(String value) {
            addCriterion("studio_city >", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityGreaterThanOrEqualTo(String value) {
            addCriterion("studio_city >=", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityLessThan(String value) {
            addCriterion("studio_city <", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityLessThanOrEqualTo(String value) {
            addCriterion("studio_city <=", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityLike(String value) {
            addCriterion("studio_city like", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityNotLike(String value) {
            addCriterion("studio_city not like", value, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityIn(List<String> values) {
            addCriterion("studio_city in", values, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityNotIn(List<String> values) {
            addCriterion("studio_city not in", values, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityBetween(String value1, String value2) {
            addCriterion("studio_city between", value1, value2, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioCityNotBetween(String value1, String value2) {
            addCriterion("studio_city not between", value1, value2, "studioCity");
            return (Criteria) this;
        }

        public Criteria andStudioAreaIsNull() {
            addCriterion("studio_area is null");
            return (Criteria) this;
        }

        public Criteria andStudioAreaIsNotNull() {
            addCriterion("studio_area is not null");
            return (Criteria) this;
        }

        public Criteria andStudioAreaEqualTo(String value) {
            addCriterion("studio_area =", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaNotEqualTo(String value) {
            addCriterion("studio_area <>", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaGreaterThan(String value) {
            addCriterion("studio_area >", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaGreaterThanOrEqualTo(String value) {
            addCriterion("studio_area >=", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaLessThan(String value) {
            addCriterion("studio_area <", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaLessThanOrEqualTo(String value) {
            addCriterion("studio_area <=", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaLike(String value) {
            addCriterion("studio_area like", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaNotLike(String value) {
            addCriterion("studio_area not like", value, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaIn(List<String> values) {
            addCriterion("studio_area in", values, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaNotIn(List<String> values) {
            addCriterion("studio_area not in", values, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaBetween(String value1, String value2) {
            addCriterion("studio_area between", value1, value2, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioAreaNotBetween(String value1, String value2) {
            addCriterion("studio_area not between", value1, value2, "studioArea");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeIsNull() {
            addCriterion("studio_longitude is null");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeIsNotNull() {
            addCriterion("studio_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeEqualTo(String value) {
            addCriterion("studio_longitude =", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeNotEqualTo(String value) {
            addCriterion("studio_longitude <>", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeGreaterThan(String value) {
            addCriterion("studio_longitude >", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("studio_longitude >=", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeLessThan(String value) {
            addCriterion("studio_longitude <", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeLessThanOrEqualTo(String value) {
            addCriterion("studio_longitude <=", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeLike(String value) {
            addCriterion("studio_longitude like", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeNotLike(String value) {
            addCriterion("studio_longitude not like", value, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeIn(List<String> values) {
            addCriterion("studio_longitude in", values, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeNotIn(List<String> values) {
            addCriterion("studio_longitude not in", values, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeBetween(String value1, String value2) {
            addCriterion("studio_longitude between", value1, value2, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLongitudeNotBetween(String value1, String value2) {
            addCriterion("studio_longitude not between", value1, value2, "studioLongitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeIsNull() {
            addCriterion("studio_latitude is null");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeIsNotNull() {
            addCriterion("studio_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeEqualTo(String value) {
            addCriterion("studio_latitude =", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeNotEqualTo(String value) {
            addCriterion("studio_latitude <>", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeGreaterThan(String value) {
            addCriterion("studio_latitude >", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("studio_latitude >=", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeLessThan(String value) {
            addCriterion("studio_latitude <", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeLessThanOrEqualTo(String value) {
            addCriterion("studio_latitude <=", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeLike(String value) {
            addCriterion("studio_latitude like", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeNotLike(String value) {
            addCriterion("studio_latitude not like", value, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeIn(List<String> values) {
            addCriterion("studio_latitude in", values, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeNotIn(List<String> values) {
            addCriterion("studio_latitude not in", values, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeBetween(String value1, String value2) {
            addCriterion("studio_latitude between", value1, value2, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioLatitudeNotBetween(String value1, String value2) {
            addCriterion("studio_latitude not between", value1, value2, "studioLatitude");
            return (Criteria) this;
        }

        public Criteria andStudioAddressIsNull() {
            addCriterion("studio_address is null");
            return (Criteria) this;
        }

        public Criteria andStudioAddressIsNotNull() {
            addCriterion("studio_address is not null");
            return (Criteria) this;
        }

        public Criteria andStudioAddressEqualTo(String value) {
            addCriterion("studio_address =", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressNotEqualTo(String value) {
            addCriterion("studio_address <>", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressGreaterThan(String value) {
            addCriterion("studio_address >", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressGreaterThanOrEqualTo(String value) {
            addCriterion("studio_address >=", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressLessThan(String value) {
            addCriterion("studio_address <", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressLessThanOrEqualTo(String value) {
            addCriterion("studio_address <=", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressLike(String value) {
            addCriterion("studio_address like", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressNotLike(String value) {
            addCriterion("studio_address not like", value, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressIn(List<String> values) {
            addCriterion("studio_address in", values, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressNotIn(List<String> values) {
            addCriterion("studio_address not in", values, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressBetween(String value1, String value2) {
            addCriterion("studio_address between", value1, value2, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioAddressNotBetween(String value1, String value2) {
            addCriterion("studio_address not between", value1, value2, "studioAddress");
            return (Criteria) this;
        }

        public Criteria andStudioImgIsNull() {
            addCriterion("studio_img is null");
            return (Criteria) this;
        }

        public Criteria andStudioImgIsNotNull() {
            addCriterion("studio_img is not null");
            return (Criteria) this;
        }

        public Criteria andStudioImgEqualTo(String value) {
            addCriterion("studio_img =", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgNotEqualTo(String value) {
            addCriterion("studio_img <>", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgGreaterThan(String value) {
            addCriterion("studio_img >", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgGreaterThanOrEqualTo(String value) {
            addCriterion("studio_img >=", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgLessThan(String value) {
            addCriterion("studio_img <", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgLessThanOrEqualTo(String value) {
            addCriterion("studio_img <=", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgLike(String value) {
            addCriterion("studio_img like", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgNotLike(String value) {
            addCriterion("studio_img not like", value, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgIn(List<String> values) {
            addCriterion("studio_img in", values, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgNotIn(List<String> values) {
            addCriterion("studio_img not in", values, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgBetween(String value1, String value2) {
            addCriterion("studio_img between", value1, value2, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioImgNotBetween(String value1, String value2) {
            addCriterion("studio_img not between", value1, value2, "studioImg");
            return (Criteria) this;
        }

        public Criteria andStudioStatusIsNull() {
            addCriterion("studio_status is null");
            return (Criteria) this;
        }

        public Criteria andStudioStatusIsNotNull() {
            addCriterion("studio_status is not null");
            return (Criteria) this;
        }

        public Criteria andStudioStatusEqualTo(String value) {
            addCriterion("studio_status =", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusNotEqualTo(String value) {
            addCriterion("studio_status <>", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusGreaterThan(String value) {
            addCriterion("studio_status >", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusGreaterThanOrEqualTo(String value) {
            addCriterion("studio_status >=", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusLessThan(String value) {
            addCriterion("studio_status <", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusLessThanOrEqualTo(String value) {
            addCriterion("studio_status <=", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusLike(String value) {
            addCriterion("studio_status like", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusNotLike(String value) {
            addCriterion("studio_status not like", value, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusIn(List<String> values) {
            addCriterion("studio_status in", values, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusNotIn(List<String> values) {
            addCriterion("studio_status not in", values, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusBetween(String value1, String value2) {
            addCriterion("studio_status between", value1, value2, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioStatusNotBetween(String value1, String value2) {
            addCriterion("studio_status not between", value1, value2, "studioStatus");
            return (Criteria) this;
        }

        public Criteria andStudioTelIsNull() {
            addCriterion("studio_tel is null");
            return (Criteria) this;
        }

        public Criteria andStudioTelIsNotNull() {
            addCriterion("studio_tel is not null");
            return (Criteria) this;
        }

        public Criteria andStudioTelEqualTo(String value) {
            addCriterion("studio_tel =", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelNotEqualTo(String value) {
            addCriterion("studio_tel <>", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelGreaterThan(String value) {
            addCriterion("studio_tel >", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelGreaterThanOrEqualTo(String value) {
            addCriterion("studio_tel >=", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelLessThan(String value) {
            addCriterion("studio_tel <", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelLessThanOrEqualTo(String value) {
            addCriterion("studio_tel <=", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelLike(String value) {
            addCriterion("studio_tel like", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelNotLike(String value) {
            addCriterion("studio_tel not like", value, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelIn(List<String> values) {
            addCriterion("studio_tel in", values, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelNotIn(List<String> values) {
            addCriterion("studio_tel not in", values, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelBetween(String value1, String value2) {
            addCriterion("studio_tel between", value1, value2, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioTelNotBetween(String value1, String value2) {
            addCriterion("studio_tel not between", value1, value2, "studioTel");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveIsNull() {
            addCriterion("studio_positive is null");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveIsNotNull() {
            addCriterion("studio_positive is not null");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveEqualTo(Integer value) {
            addCriterion("studio_positive =", value, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveNotEqualTo(Integer value) {
            addCriterion("studio_positive <>", value, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveGreaterThan(Integer value) {
            addCriterion("studio_positive >", value, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("studio_positive >=", value, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveLessThan(Integer value) {
            addCriterion("studio_positive <", value, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveLessThanOrEqualTo(Integer value) {
            addCriterion("studio_positive <=", value, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveIn(List<Integer> values) {
            addCriterion("studio_positive in", values, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveNotIn(List<Integer> values) {
            addCriterion("studio_positive not in", values, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveBetween(Integer value1, Integer value2) {
            addCriterion("studio_positive between", value1, value2, "studioPositive");
            return (Criteria) this;
        }

        public Criteria andStudioPositiveNotBetween(Integer value1, Integer value2) {
            addCriterion("studio_positive not between", value1, value2, "studioPositive");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}